package cn.tangsihai.org.domain;

import cn.tangsihai.basic.domain.BasicDomain;
import cn.tangsihai.user.domain.Logininfo;
import lombok.Data;

@Data // get/set/toString/等方法的集合体，注：没有有参构造
public class Employee  extends BasicDomain {
    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    private String comfirmPassword; // 二次校验密码
    private Integer age;
    private Integer state;
    // 部门
    private Long department_id;
    private Department department; // 对象接收数据
    // 登录信息
    private Long logininfo_id;
    private Logininfo logininfo; // 对象接收数据
    // 店铺
    private Long shop_id;
    private Shop shop; // 对象接收数据
}
